package xinya.com.baselibrary.constant;


/**
 * Created by zjb on 2016/6/12.
 */
public class Constant {
    public static String HOST = "http://120.79.201.250/api";
    /**
     * 判断数据是否有改变
     */
    public static int changeControl = 2017;
    public static String source = "";
    public static int MainActivityAlive = 0;
    public static String DB_NAME= "adv";

    public static boolean keepLive = true;
    public static boolean link = true;
    /**
     * 微信appid
     */
    public static String WXAPPID = "wx6346bca675f82935";
    public static String WXSHANGHUHAO = "1520289091";
    /**
     * 微信scrent
     */
    public static String WXSCRENT = "ac8588e12c428fa7d0c6f5c5f3782b44";
    /**
     * qq
     */
    public static String QQ_ID = "1106239952";
    public static String QQ_KEY = "HcA9s2rpKkLO2M5w";
    /**
     * 阿里云推送
     */
    public static String ALI_APP_KEY = "27601248";
    public static String ALI_APP_SECRET = "20b80023e904906d701a5b5f17cd14da";
    /**
     * 更新服务器配置
     */
    public static final String UPDATE_SERVER_URL = "http://version.app.xinyartech.com/apkStorage/getAppInfo";

    public static class Url {
        public static final String PROGRAM_GET = HOST + "/program/get";
        public static final String DEVICE_SAVE = HOST + "/device/save";
        public static final String PROGRAM_GETLIST = HOST + "/program/getList";
        public static final String DEVICE_HEARTBEAT = HOST + "/device/heartbeat";
        public static final String DEVICE_SETTING = HOST + "/device/setting";
    }

    public static class IntentKey {
        public static final String TYPE = "type";
        public static final String TYPE01 = "type01";
        public static final String POSITION = "position";
        public static final String ID = "id";
        public static final String BEAN = "bean";
        public static final String BEAN1 = "bean1";
        public static final String BEAN2 = "bean2";
        public static final String VALUE = "value";
        public static final String URL = "url";
        public static final String TITLE = "title";
        public static final String LIST = "List";
        public static final String LIST01 = "List01";
        public static final String BIG_IMG_POSITION = "bigImgPosition";
        public static final String BIG_IMG = "bigImg";
        public static final String IS_DEL = "IS_DEL";
        public static final String USB_FROM = "USB_FROM";
        public static final String NEW_ADV = "NEW_ADV";
    }

    public static class AcacheKey {
        public static final String APP = "app";
        public static final String setInfo = "setInfo";
        public static final String appInfo = "appInfo";
        public static final String Heart = "Heart";
        public static final String blackLight = "blackLight";
    }

    public static class AcacheValue {
        public static final String appInfo = "appInfo";

        public static final String USER_INFO = "userInfo";
        public static final String DEVICE_ID = "DEVICE_ID";

        public static final String closeOpenTime = "closeOpenTime";
        public static final String openCloseEnable = "openCloseEnable";
        public static final String keepLive = "keepLive";
        public static final String link = "link";
        public static final String screenRoate01 = "screenRoate01";
        public static final String screenRoate02 = "screenRoate02";

        public static final String Heart = "Heart";
    }

    public static class EventKey {
        public static final String TEST = "TEST";
        public static final String Tab02 = "Tab02";
        public static final String setCloseOpenTime = "setCloseOpenTime";
        public static final String keepLive = "keepLive";//重新唤醒
        public static final String closeUsb = "closeUsb";//关闭usb
        public static final String NEW_ADV = "NEW_ADV";//新的广告
        public static final String SCROLL = "SCROLL";//滑动至下一屏
        public static final String pushProgram = "pushProgram";//推送节目
        public static final String clearAll = "clearAll";//清空节目
    }

    public static class RequestResultCode {
        public static final int OK = 2019;
        public static final int UPLOAD_IDCARD = 2020;
        public static final int UPLOAD_IMG = 2021;
        public static final int CHOOSE_BANK = 2022;
        public static final int CHOOSE_ZHIHANG = 2023;
        public static final int UPLOAD_IMG_JI_GOU = 2024;
        public static final int UPLOAD_IMG_Kai_HU = 2025;
        public static final int UPLOAD_IMG_HEAD_SENCE = 2026;
        public static final int UPLOAD_IMG_DESK = 2027;
        public static final int UPLOAD_IMG_BANK = 2028;
        public static final int UPLOAD_IMG_XIE_YI = 2029;
        public static final int UPLOAD_IMG_Other = 2030;
        public static final int UPLOAD_IDCARD_RZ = 2031;
        public static final int UPLOAD_IMG_RUZHANG = 2032;

    }

}
